# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-themes
pkgver=3.22.24
pkgrel=0
pkgdesc="MATE themes"
url="https://github.com/mate-desktop/mate-themes"
arch="noarch"
license="LGPL-2.1-or-later"
depends="mate-common"
makedepends="intltool gdk-pixbuf-dev gtk+2.0-dev icon-naming-utils gtk+3.0-dev"
subpackages="$pkgname-lang"
source="https://pub.mate-desktop.org/releases/themes/${pkgver%.*}/mate-themes-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
a92b78c3899b9ad159dbc1ee310939c300c45c203a9976bc83a76e49beb79b4fb551bfaa26c638d54da7630639a61df802113466844a6664e83ea6ab68c7dbc5  mate-themes-3.22.24.tar.xz
"
